package com.ruoyi.lm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 次数消费记录对象 lm_timesrecord
 * 
 * @author ruoyi
 * @date 2020-09-02
 */
public class LmTimesrecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String recordUser;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String recordUserName;

    /** 查看需求id */
    @Excel(name = "查看需求id")
    private String requireId;

    /** 查看需求标题 */
    @Excel(name = "查看需求标题")
    private String requireTitle;

    /** 服务报名id */
    @Excel(name = "服务报名id")
    private String serviceId;

    /** 服务报名标题 */
    @Excel(name = "服务报名标题")
    private String serviceTitle;

    /** 查看服务商报名id */
    @Excel(name = "查看服务商报名id")
    private String userId;

    /** 查看服务商名称*/
    @Excel(name = "查看服务商名称")
    private String userName;

    /** 次数 */
    @Excel(name = "次数")
    private Integer times;

    /** 类型（0增加1减少） */
    @Excel(name = "类型", readConverterExp = "0=增加1减少")
    private String recordType;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setRecordUser(String recordUser) 
    {
        this.recordUser = recordUser;
    }

    public String getRecordUser() 
    {
        return recordUser;
    }
    public void setRequireId(String requireId) 
    {
        this.requireId = requireId;
    }

    public String getRequireId() 
    {
        return requireId;
    }
    public void setServiceId(String serviceId) 
    {
        this.serviceId = serviceId;
    }

    public String getServiceId() 
    {
        return serviceId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setTimes(Integer times) 
    {
        this.times = times;
    }

    public Integer getTimes() 
    {
        return times;
    }
    public void setRecordType(String recordType) 
    {
        this.recordType = recordType;
    }

    public String getRecordType() 
    {
        return recordType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("recordUser", getRecordUser())
            .append("requireId", getRequireId())
            .append("serviceId", getServiceId())
            .append("userId", getUserId())
            .append("times", getTimes())
            .append("recordType", getRecordType())
            .append("createTime", getCreateTime())
            .toString();
    }

    public String getRecordUserName() {
        return recordUserName;
    }

    public void setRecordUserName(String recordUserName) {
        this.recordUserName = recordUserName;
    }

    public String getRequireTitle() {
        return requireTitle;
    }

    public void setRequireTitle(String requireTitle) {
        this.requireTitle = requireTitle;
    }

    public String getServiceTitle() {
        return serviceTitle;
    }

    public void setServiceTitle(String serviceTitle) {
        this.serviceTitle = serviceTitle;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
